<style>
    .shade-mask{
    background:rgba(255, 255, 255, 0.7);
    z-Index:999; 
    position:fixed;
    top: 0;right: 0;left: 0;bottom: 0;
    display: none;
    overflow: auto;
    width: 100%;
    height: 100%;
    padding: 20px;
    text-align: center;
    min-width:320px;
}
.popup{
    display: inline-block;
    z-index:9999; 
    font-size: 15px;
}
.popup img{
    margin-bottom: 10px;
}
.help{
    width: 0;
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}
</style>
<div class="panel panel-default panel-intro">
    {:build_heading()}
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-tp btn-refresh" title="{:__('Refresh')}">
                            <i class="fa fa-refresh"></i>
                        </a>
                        <a href="javascript:;" class="btn btn-tp btn-add {:$auth->check('saler/groupinfo/add')?'':'hide'}" title="{:__('Add')}">
                            <i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-tp btn-del btn-disabled disabled {:$auth->check('saler/groupinfo/del')?'':'hide'}"
                            title="{:__('Delete')}">
                            <i class="fa fa-trash-o"></i> {:__('Delete')}</a>
                        <a href="javascript:;" class="btn btn-tp btn-import {:$auth->check('saler/groupinfo/import')?'':'hide'}" title="{:__('Import')}"
                            id="btn-import-file" data-url="ajax/upload" data-mimetype="csv,xls,xlsx" data-multiple="false">
                            <i class="fa fa-upload"></i>
                            {:__('导入联系人到群组')}</a>
                            <a class="btn btn-tp"  href="__CDN__/admin/saler/groupinfo/export?saler_group_id={$Think.get.saler_group_id}" download="application.xls">
                                <i class="fa fa-download"></i>
                                {:__('失败日志')}</a>
                        <a class="btn btn-tp btn-imp" href="__CDN__/assets/img/application.xls"  download="导入模板.xls"><i class="fa fa-download"></i> {:__('下载模版')}</a>
                        <div class="invisible disabled dropdown btn-group {:$auth->check('saler/groupinfo/multi')?'':'hide'}">
                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown">
                                <i class="fa fa-cog"></i> {:__('More')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li>
                                    <a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal">
                                        <i class="fa fa-eye"></i> {:__('Set to normal')}</a>
                                </li>
                                <li>
                                    <a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden">
                                        <i class="fa fa-eye-slash"></i> {:__('Set to hidden')}
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover" data-operate-edit="{:$auth->check('saler/groupinfo/edit')}"
                        data-operate-del="{:$auth->check('saler/groupinfo/del')}" width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
<div class="shade-mask">
    <div class="popup"><img src="__CDN__/assets/img/loading-qianwen.gif" /><br>导入中,请稍候...</div>
    <div class="help"></div>
</div>
<span class="hidden invisible" id="saler_group_id">{$Think.get.saler_group_id}</span>